-- GENERATED SPELL FOR [Alexstrasza the Life-Binder] --


function spell0_26917(pUnit, Event) --@The Life-Binding,n/a--
pUnit:FullCastSpellOnTarget(4294,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26917', 5000, 1)
end

function Sorts_26917(pUnit, Event)
local choix_sorts_26917 = math.random(0, 0)
if choix_sorts_26917 == 0 then
pUnit:RegisterEvent('spell0_26917', 1, 1)
end
end

function mob26917_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26917', math.random(1500, 3000), 1)
end

function mob26917_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26917_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26917_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26917, 1, 'mob26917_Action')
RegisterUnitEvent(26917, 2, 'mob26917_Leave')
RegisterUnitEvent(26917, 3, 'mob26917_Kill')
RegisterUnitEvent(26917, 4, 'mob26917_Die')
